package com.ruoyi.expressdelivery.utils;

public enum  ExpressServiceCodeEnum implements IServiceCodeStandard {

    /* 下单服务名称 */
    EXP_RECE_CREATE_ORDER("EXP_RECE_CREATE_ORDER"),
    /* 订单结果查询服务名称 */
    EXP_RECE_SEARCH_ORDER_RESP("EXP_RECE_SEARCH_ORDER_RESP"),
    /* 订单确认、取消服务名称 */
    EXP_RECE_UPDATE_ORDER("EXP_RECE_UPDATE_ORDER"),
    /* 订单筛选服务名称 */
    EXP_RECE_FILTER_ORDER_BSP("EXP_RECE_FILTER_ORDER_BSP"),
    /* 路由查询服务名称 */
    EXP_RECE_SEARCH_ROUTES("EXP_RECE_SEARCH_ROUTES"),
    /* 子单号申请服务名称*/
    EXP_RECE_GET_SUB_MAILNO("EXP_RECE_GET_SUB_MAILNO"),
    /*清单运费查询服务名称*/
    EXP_RECE_QUERY_SFWAYBILL("EXP_RECE_QUERY_SFWAYBILL"),
    /*路由注册服务名称*/
    EXP_RECE_REGISTER_ROUTE("EXP_RECE_REGISTER_ROUTE"),
    /*退货下单接口名称*/
    EXP_RECE_CREATE_REVERSE_ORDER("EXP_RECE_CREATE_REVERSE_ORDER"),
    /*退货消单接口名称*/
    EXP_RECE_CANCEL_REVERSE_ORDER("EXP_RECE_CANCEL_REVERSE_ORDER"),
    /*派件通知接口名称*/
    EXP_RECE_DELIVERY_NOTICE("EXP_RECE_DELIVERY_NOTICE"),
    /*图片注册及推送接口名称*/
    EXP_RECE_REGISTER_WAYBILL_PICTURE("EXP_RECE_REGISTER_WAYBILL_PICTURE"),
    /*截单转寄接口*/
    EXP_RECE_WANTED_INTERCEPT("EXP_RECE_WANTED_INTERCEPT"),
    /*时效标准及价格查询名称*/
    EXP_RECE_QUERY_DELIVERTM("EXP_RECE_QUERY_DELIVERTM"),
    /*云打印面单接口名称*/
    COM_RECE_CLOUD_PRINT_WAYBILLS("COM_RECE_CLOUD_PRINT_WAYBILLS"),
    /*路由上传接口名称*/
    EXP_RECE_UPLOAD_ROUTE("EXP_RECE_UPLOAD_ROUTE"),
    /*预计派送时间查询接口名称*/
    EXP_RECE_SEARCH_PROMITM("EXP_RECE_SEARCH_PROMITM"),
    /*揽件服务时间查询接口名称*/
    EXP_EXCE_CHECK_PICKUP_TIME("EXP_EXCE_CHECK_PICKUP_TIME"),
    /*运单号合法性校验接口名称*/
    EXP_RECE_VALIDATE_WAYBILLNO("EXP_RECE_VALIDATE_WAYBILLNO"),
    ;

    ExpressServiceCodeEnum(String code) {
        this.code = code;

    }
    private String code;
    private String path;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getPath() {
        return PrePathEnum.EXPRESS_PATH.getPath()+path;
    }
}
